package j04zuoye.com.hualan.graph;

import java.awt.*;

public class GraphTest {
    public static void main(String[] args) {
        Circle circle = new Circle(
                new Point(),
                4
        );
        System.out.println("circle.area() = " + circle.area());
        boolean flag = circle.isIntersect(
                new Circle(
                        new Point(),
                        3
                )
        );
        Rectangle rectangle = new Rectangle(
                new Point(),
                3,
                6
        );
        System.out.println("rectangle.area() = " + rectangle.area());
    }
}
